package com.xxgc.eow.mapper;

import com.xxgc.eow.entity.Company;
import com.xxgc.eow.entity.Companypost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 企业岗位表 Mapper 接口
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-22
 */
@Mapper
public interface CompanypostMapper extends BaseMapper<Companypost> {
    int deleteByPostId(Companypost companypost);

    int deleteByCompanyId(Companypost companypost);
    int insert(Companypost row);
    int deleteByPrimaryKey(int postId);
    Companypost selectByPrimaryKey(Integer postId);

    List<Companypost> selectByCompanyId(Integer companyId);

    List<Companypost> selectAll();

    int updateByPrimaryKey(Companypost row);

    List<Companypost> selectByKeyWord(String keyWord);
}
